package entity;


/**
 * 动物分类实体类
 */
public class AnimalCategory {
    private int categoryId; // 分类ID
    private String categoryName; // 分类名称
    private String description; // 描述

    // 默认构造函数
    public AnimalCategory() {
    }

    // 带参构造函数
    public AnimalCategory(int categoryId, String categoryName, String description) {
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.description = description;
    }

    // 获取分类ID
    public int getCategoryId() {
        return categoryId;
    }

    // 设置分类ID
    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    // 获取分类名称
    public String getCategoryName() {
        return categoryName;
    }

    // 设置分类名称
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    // 获取描述
    public String getDescription() {
        return description;
    }

    // 设置描述
    public void setDescription(String description) {
        this.description = description;
    }
}
